<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
          "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>完整demo</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <script type="text/javascript" charset="utf-8" src="ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="ueditor.all.min.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="lang/zh-cn/zh-cn.js"></script>
    <!--公式编辑器-->
    <script type="text/javascript" charset="utf-8" src="kityformula-plugin/addKityFormulaDialog.js"></script>
    <script type="text/javascript" charset="utf-8" src="kityformula-plugin/getKfContent.js"></script>
    <script type="text/javascript" charset="utf-8" src="kityformula-plugin/defaultFilterFix.js"></script>
    <style type="text/css">
        div { width: 100%; }
    </style>
</head>
<body>
	<form action="index.html" method="get">
		<div>
			<textarea name="content" id="editor" style="width:1024px;height:500px;"></textarea>
			<script type="text/javascript">
					var ue = UE.getEditor('editor', {
								toolbars: [['fullscreen', 'source', '|',
									'undo', 'redo', '|',
									'bold', 'italic', 'underline', 'superscript', 'subscript', 'pasteplain', '|',
									'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', '|',
									'paragraph', 'fontfamily', 'fontsize', '|',
									'indent', 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|',
									'simpleupload', 'horizontal', 'inserttable', '|',
									'searchreplace', 'kityformula'
								]]
							});
				
				</script>
			
		</div>
       <input type="submit" value="提交"/>

  </form>
</body>
</html>